Skip to content

tutorial step 7/8: improve a11y, teach better practices #1592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 16, 2022

Conversation

WickyNilliams
Copy link
Contributor

@WickyNilliams WickyNilliams commented Mar 2, 2022

Description of Problem

these tutorial step teach a bad practice, and is more complex than necessary as a result

Proposed Solution

it's easier, and more accessible, to handle a single submit event on a form than it is to handle both click on button and enter keydown on input. so switch to that instead

Additional Information

n/a

it's easier, and more accessible, to handle a single submit event on a form than it is to handle both click on button and enter keydown on input
@netlify
Copy link

netlify bot commented Mar 2, 2022

✔️ Deploy Preview for vuejs ready!

🔨 Explore the source changes: 697df43

🔍 Inspect the deploy log: https://app.netlify.com/sites/vuejs/deploys/623212c477edc80008462f46

😎 Browse the preview: https://deploy-preview-1592--vuejs.netlify.app

@WickyNilliams WickyNilliams changed the title tutorial step 7: improve a11y, teach better practices tutorial step 7/8: improve a11y, teach better practices Mar 2, 2022
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WickyNilliams thank you, submit event is more semantic indeed

@NataliaTepluhina NataliaTepluhina merged commit 10184f8 into vuejs:main Mar 16, 2022
@WickyNilliams WickyNilliams deleted the patch-1 branch March 16, 2022 16:35
@WickyNilliams
Copy link
Contributor Author

No worries, thanks for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants